package figure8.events;

import java.util.EventObject;

public class PlaybackEvent extends EventObject {
	public static enum State {
		PLAYING, STOPPED, RESET, NEW_BAR
	}

	private PlaybackEvent.State state;

	public PlaybackEvent(Object source, PlaybackEvent.State state) {
		super(source);

		this.state = state;
	}

	public PlaybackEvent.State getState() {
		return this.state;
	}
}
